package com.shangdiao.sd_server.service;

import java.util.List;

import com.shangdiao.sd_server.generator.pojo.SdInternship;
import com.shangdiao.sd_server.generator.pojo.SdInternshipExample;
import com.shangdiao.sd_server.generator.pojo.SdInternshipReview;
import com.shangdiao.sd_server.generator.pojo.SdInternshipReviewExample;
import com.shangdiao.sd_server.generator.pojo.SdPInternship;
import com.shangdiao.sd_server.generator.pojo.SdPInternshipExample;
import com.shangdiao.sd_server.generator.pojo.SdPParttime;
import com.shangdiao.sd_server.generator.pojo.SdPParttimeExample;
import com.shangdiao.sd_server.generator.pojo.SdParttime;
import com.shangdiao.sd_server.generator.pojo.SdParttimeExample;
import com.shangdiao.sd_server.generator.pojo.SdParttimeReview;
import com.shangdiao.sd_server.generator.pojo.SdParttimeReviewExample;
import com.shangdiao.sd_server.pojo.Row;



public interface PostService {

	public List<SdInternship> selectInternshipList(SdInternshipExample example);
	
	public List<SdParttime> selectParttimeList(SdParttimeExample example);
	
	public List<SdPInternship> selectPInternshipList(SdPInternshipExample example);
	
	public List<SdPParttime> selectPParttimeList(SdPParttimeExample example);
	
	public SdPInternship selectPInternship(Integer pIId);
	
	public SdPParttime selectPParttime(Integer pPId);
	
	public int countPInternship(SdPInternshipExample example);
	
	public int countPParttime(SdPParttimeExample example);
	
	public int countInternship(SdInternshipExample example);
	
	public int countParttime(SdParttimeExample example);
	
	public int insertInternship(SdInternship internship);
	
	public int insertParttime(SdParttime parttime);
	
	public int updateInternship(SdInternship internship);
	
	public int updateInternship(SdInternship internship, SdInternshipExample internshipExample);
	
	public int updateParttime(SdParttime parttime);
	
	public int updateParttime(SdParttime parttime, SdParttimeExample parttimeExample);
 
	public SdInternship selectInternship(Integer internshipId);
	
	public SdParttime selectParttime(Integer parttimeId);
	
	public List<Row> selectHotPost(Row paramRow);
	
	List<SdParttimeReview> selectParttimeReview(SdParttimeReviewExample example);
	
	List<SdInternshipReview> selectInternshipReview(SdInternshipReviewExample example);

	public int updatePIntenrship(SdPInternship pInternship, SdPInternshipExample pInternshipExample);
	
	public int updatePIntenrship(SdPInternship pInternship);
	
	public int updatePParttime(SdPParttime pParttime, SdPParttimeExample pParttimeExample);
	
	public int updatePParttime(SdPParttime pParttime);
	
	int updateInternshipReview(SdInternshipReview internshipReview, SdInternshipReviewExample internshipReviewExample);
	
	int updateParttimeReview(SdParttimeReview parttimeReview, SdParttimeReviewExample parttimeReviewExample);

}
